package com.validate.constant;

/**
 * Created with IntelliJ IDEA.
 * User: hzl
 * Date: 2018/12/11
 * Time: 10:24
 * Description: mvc框架中返回数据的contentType类型，json或者是表单
 *
 */
public enum ValidType {

    JSON(0),
    FROM(1);

    private final int value;

    private ValidType(int value) {
        this.value = value;
    }

    public int value(){
        return this.value;
    }
}
